#ifndef _IMP_WANG_CLIENT_INTERFACE_H
#define _IMP_WANG_CLIENT_INTERFACE_H
#include "softbus_def.h"
#include <stdint.h>
struct ClientProvideInterface {

	int32_t(*onChannelOpened)(const char* sessionName, const ChannelInfo* channel);

	int32_t(*onChannelOpenFailed)(int32_t channelId, int32_t channelType);

	int32_t(*onChannelClosed)(int32_t channelId, int32_t channelType);

	int32_t(*onChannelMsgReceived)(int32_t channelId, int32_t channelType,
		const void* data, uint32_t len, SessionPktType type);

	int (*onJoinLNNResult)(const char* pkgName, void* addr, uint32_t addrTypeLen,
		const char* networkId, int32_t retCode);

	int (*onLeaveLNNResult)(const char* pkgName, const char* networkId, int32_t retCode);

	int (*onNodeOnlineStateChanged)(bool isOnline, void* info, uint32_t infoTypeLen);

	int (*onNodeBasicInfoChanged)(void* info, uint32_t infoTypeLen, int32_t type);

};

#endif